home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Utilitaires divers / Images / Mac POV Utils 1.1 ƒ / POV-Utils Docs.Raw / POVSuds / SUDS.DAT < prev    next >
Encoding:
Text File  |  1992-01-01  |  1.9 KB  |  66 lines  |  [TEXT/ttxt]

  1. // Persistence of Vision Raytracer
  2. // This datafile is designed as a "root" datafile for the output
  3. // generated by the program POVSUDS.EXE.  The name of the #include file
  4. // containing the "suds" data must be changed to match your filename.
  5. #INCLUDE "colors.inc"
  6. #INCLUDE "shapes.inc"
  7. #INCLUDE "textures.inc"
  8.  
  9. #declare SudsObject = OBJECT {
  10.  
  11. // Note: you could substitute any of the following, or more:
  12. //    INTERSECTION { Cube }
  13. //    INTERSECTION { Z_Disk }
  14. //    also, cone segments, hexagons, teapots, etc.
  15. //    if you've got enough time.
  16.  
  17.     SPHERE { <0 0 0> 1 }
  18. //    color Magenta
  19. //    TEXTURE {
  20. //        Chrome_Texture
  21. //    }
  22. }
  23.  
  24. #declare suds0 = TEXTURE { Chrome_Texture }
  25. #declare suds1 = TEXTURE { Brass_Texture }
  26. #declare suds2 = TEXTURE { Blue_Sky }
  27. #declare suds3 = TEXTURE { Shiny }
  28. #declare suds4 = TEXTURE { Mirror }
  29. #declare suds5 = TEXTURE { Gold_Texture }
  30. #declare suds6 = TEXTURE { Silver_Texture }
  31. #declare suds7 = TEXTURE { Rusty_Iron }
  32. #declare suds8 = TEXTURE { Candy_Cane }
  33. #declare suds9 = TEXTURE { Water }
  34. #declare suds10= TEXTURE { Jade }
  35.  
  36. #include "suds.inc"       // NOTE: Change this line accordingly
  37.  
  38. VIEW_POINT {
  39.     location <0 0 -700>
  40.     direction <0 0 1>
  41.     up  <0 1 0>
  42.     right <1.33333 0 0>
  43.     look_at <0 0 0>
  44. }
  45.  
  46. // I am using three light sources here, one, white and two, colored.
  47. // You may wish to change these, even elimate the two colored ones
  48. // completely, at least during the debugging phase.
  49. OBJECT {   // BLUE light 
  50.    light_source { <50 65 -1500> colour RichBlue}
  51.    TEXTURE {  ambient 1  diffuse 0  colour White  }
  52. }
  53. OBJECT {   // WHITE light 
  54.    light_source { <0 -100 -5000> colour White }
  55.    TEXTURE {  ambient 1  diffuse 0  colour White  }
  56. }
  57.  
  58. OBJECT {   // VIOLET RED light 
  59.    light_source { <-150 -165 -1500> colour VioletRed }
  60.    TEXTURE {  ambient 1  diffuse 0  colour White  }
  61. }
  62.  
  63. COMPOSITE { Suds
  64.   //   rotate <30 0 0>  //   to place on x/z PLANE 
  65. }
  66.